<div class="span5">
	<h1>TÂN CƯỜNG PHÁT</h1>
	<div>
		<object width="322" height="22" style="padding-left:10px;">
			<param value="transparent" name="wmode">
			<embed width="322" height="22" wmode="transparent" src="<?php echo Router::url('/img/vpp.swf')?>">
		</object>
	</div>
</div>
<div class="span7">
	<div class="pull-right">
		<?php
			if (empty($login['User'])) {
		?>
			<a href="<?php echo Router::url(array('controller'=>'register','action'=>'index')); ?>" title="Đăng ký"><?php echo __('Đăng ký', true);?></a> hoặc
			<a href="<?php echo Router::url(array('controller'=>'login','action'=>'index')); ?>" title="Đăng nhập"><?php echo __('Đăng nhập',true); ?></a>
		<?php
			}
			else {
		?>
			<?php
				echo __('Chào, '.$login['User']['fullName'], true) . " (";
                                echo $this->Html->link(__('Logout', true), array('controller' => 'login', 'action' => 'logout')) . ')'
			?>
		<?php
			}
		 ?> |
		 <?php
			$basket_count = 0;
			if (!empty($basket)) {
				foreach ($basket as $item) {
					$basket_count = $basket_count + $item['quantity'];
				}
			}
		 ?>
		<a href="<?php echo Router::url(array('controller'=>'basket','action'=>'index')); ?>">
			<i class="icon-shopping-cart"></i>
			<span><?php echo (__('Giỏ hàng', true));?> (<strong><?php echo ($basket_count);?></strong>)
		</a>
	</div>
	<div class="hotline pull-right">
		<i class="my-icon-phone"></i>
		<span class="pull-right">
			<h6>Gọi đặt hàng</h6>
			<h3>
                            <?php 
                                echo $this->requestAction(
                                        array(
                                                'plugin'	=> 'module',
                                                'controller'	=> 'widget',
                                                'action'	=> 'hotline'
                                        )
                                );
                            ?>
                            
                        </h3>
			Từ thứ 2 - thứ 7 8:00-18:00
		</span>
	</div>
</div>